<%--
  Created by IntelliJ IDEA.
  User: drophair
  Team: 深藏blow
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>登录成功</title>
    <script src="/js/jquery-3.4.1.min.js"></script>
    <link rel="stylesheet" href="/css/bootstrap.min.css">
</head>
<body>
<%--<div style="text-align: center"><%=request.set%></div>--%>
<div style="text-align: center">
    账号：
    <%
        String Userid="";
        String Upwd="";
        String Uname="";
        Cookie[] cookies=request.getCookies();
        for (Cookie cookie:cookies){
            if(cookie.getName().equals("Userid")){
                Userid=cookie.getValue();
                System.out.println("Get Userid YES");
            }
            if(cookie.getName().equals("Upasswd")){
                Upwd=cookie.getValue();
                System.out.println("Get Upasswd YES");
            }
            if(cookie.getName().equals("Uname")){
                Uname=cookie.getValue();
                System.out.println(Uname);
            }
        }
    %>
    <%=Userid%>
    <%--<%=request.getParameter("login_id")%>--%>
    <%
        //
    %>
    密码：<%=Upwd%>
<%--    <%=request.getParameter("login_pwd")%>--%>
    <%
        //
    %>
</div>
</body>
</html>
